import { mapGetters,mapActions } from "vuex";

export const vuexMixin = {
  computed:{
    ...mapGetters([
      'getIsCollapse',
      "getShowBread",
      "getTitleObj",
      'getDefIndex'
    ])
  },
  methods: {
    ...mapActions([
      'setIsCollapse',
      'setShowBread',
      "setTitleObj",
      'setDefIndex'
    ])
  },
}